/*
 * Copyright 2025 The JA-SIG Collaborative. All rights reserved.
 * distributed with this file and available online at
 */
package com.lap.auth.adapter.driving.persistence.api.po;

import com.lap.framework.common.po.AbstractPo;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class ApiPo extends AbstractPo {

  /** 唯一标识 */
  private Integer id;

  /** API模块 */
  private String module;

  /** 父编码 */
  private String parentCode;

  /** API编码 */
  private String code;

  /** API名称 */
  private String name;

  /** 方法类型:POST,PUT,GET,DELETE */
  private String method;

  /** API地址 */
  private String uri;

  /** 接口类型:0-MODULE,1-CLASS,2-METHOD */
  private Integer apiType;

  /** 访问控制:0-ALL,1-LIMIT */
  private Integer accessLevel;

  /** 访问类型:0-内部访问,1-外部访问 */
  private Integer viewType;

  /** 更新标识:0-否,1-是 */
  private Integer updatedFlag;
}
